import { defineStore } from "pinia";
export default defineStore('main', {
    state: () => ({
        username: undefined,
    }),
    actions: {
        login(name) {
            this.username = name
        },
        logout() {
            this.username = undefined
        },
    },
})
